const express = require('express')
const app = express()
const home = express.Router()

app.use('/home', home)
home.get('/index', (req, res) => {
  res.send('欢迎来到博客首页 ' + req.url)
})

app.listen(3000)
console.log('网站服务器启动成功')
